package com.xxd.rpt2.service;

import com.xxd.rpt2.Entity.User;
import org.springframework.data.domain.Page;

public interface UserService {
    public abstract User getUserById(int id);

    public abstract Page<User> findByPage(User user, int page, int pageSize);

    public abstract User findByName(String instr);

    public abstract String signToken(String username, String salt);

    public abstract User saveUser(User user);
}
